package com.lemon.smartsafety.result.address;

import java.io.Serializable;
import java.util.List;

/**
 * 项目名称：workspace
 * 类描述：
 * 创建人：Fargo
 * 创建时间：2016/7/4 16:50
 * 修改人：Fargo
 * 修改时间：2016/7/4 16:50
 * 修改备注：
 */
public class SearchBookMode implements Serializable{


    /**
     * code : 0
     * msg : 操作成功！
     */

    private ErrorEntity error;
    /**
     * result : [{"book_user_id":1727,"book_id":804,"user_id":"_nfk_main_8066","join_time":"","join_type":"","remark":"","is_admin":0,"user_name":"张鹏宪","mobile":"18906186698","create_user_id":"","response_status":0,"response_time":"","create_time":"","book_name":"张测试","hasWeixin":0}]
     * error : {"code":0,"msg":"操作成功！"}
     * isError : false
     */

    private boolean isError;
    /**
     * book_user_id : 1727
     * book_id : 804
     * user_id : _nfk_main_8066
     * join_time :
     * join_type :
     * remark :
     * is_admin : 0
     * user_name : 张鹏宪
     * mobile : 18906186698
     * create_user_id :
     * response_status : 0
     * response_time :
     * create_time :
     * book_name : 张测试
     * hasWeixin : 0
     */

    private List<ResultEntity> result;

    public ErrorEntity getError() {
        return error;
    }

    public void setError(ErrorEntity error) {
        this.error = error;
    }

    public boolean isIsError() {
        return isError;
    }

    public void setIsError(boolean isError) {
        this.isError = isError;
    }

    public List<ResultEntity> getResult() {
        return result;
    }

    public void setResult(List<ResultEntity> result) {
        this.result = result;
    }

    public static class ErrorEntity {
        private int code;
        private String msg;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }

    public static class ResultEntity {
        private int book_user_id;
        private int book_id;
        private String user_id;
        private String join_time;
        private String join_type;
        private String remark;
        private int is_admin;
        private String user_name;
        private String mobile;
        private String create_user_id;
        private int response_status;
        private String response_time;
        private String create_time;
        private String book_name;
        private int hasWeixin;

        public int getBook_user_id() {
            return book_user_id;
        }

        public void setBook_user_id(int book_user_id) {
            this.book_user_id = book_user_id;
        }

        public int getBook_id() {
            return book_id;
        }

        public void setBook_id(int book_id) {
            this.book_id = book_id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getJoin_time() {
            return join_time;
        }

        public void setJoin_time(String join_time) {
            this.join_time = join_time;
        }

        public String getJoin_type() {
            return join_type;
        }

        public void setJoin_type(String join_type) {
            this.join_type = join_type;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getIs_admin() {
            return is_admin;
        }

        public void setIs_admin(int is_admin) {
            this.is_admin = is_admin;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getCreate_user_id() {
            return create_user_id;
        }

        public void setCreate_user_id(String create_user_id) {
            this.create_user_id = create_user_id;
        }

        public int getResponse_status() {
            return response_status;
        }

        public void setResponse_status(int response_status) {
            this.response_status = response_status;
        }

        public String getResponse_time() {
            return response_time;
        }

        public void setResponse_time(String response_time) {
            this.response_time = response_time;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getBook_name() {
            return book_name;
        }

        public void setBook_name(String book_name) {
            this.book_name = book_name;
        }

        public int getHasWeixin() {
            return hasWeixin;
        }

        public void setHasWeixin(int hasWeixin) {
            this.hasWeixin = hasWeixin;
        }
    }
}
